package com.yulinlin.admin.core.service;

import com.yulinlin.admin.core.domain.SuperEntity;
import com.yulinlin.admin.core.domain.po.PagePo;
import com.yulinlin.admin.core.domain.vo.PageVo;

import java.util.List;

public interface ISuperService<E extends SuperEntity<E>> {

    public List<E> findByIdIn(List<Long> ids);
    public  E findById(String id);
    public   int insertOne(E obj);

    public   int insertList(List<E> coll);

    public int deleteById(String id);


    public  int deleteByIdIn(List<Long> coll);

    public  int updateOne(E obj);

    public int updateList(List<E> list);

    public List<E> all();


    public PageVo<E> page(PagePo<E> po);

}
